package main

type Hall struct{
	C chan string
}

func (this *Hall) start(){
	for{
		select{
		case msg:= <- this.C:
			this.CastAll(msg)
			
		}
	}
}
func (this *Hall) CastAll(msg string){
	for _ ,data := range clientList{
		data.C <- msg
	}
}
// 大厅消息通道